package org.example.project.entity;

import java.sql.Timestamp;

/**
 * @Author 岩
 * @Package org.example.project.entity
 * @Project MyApp
 * @Name Plant
 * @Date 2024-04-28 14:22
 * @Filename Plant
 */
public class Plant {
    private int id;
    private String name;
    private String scientificName;
    private String overview;
    private String state;
    private String usage;
    private String attributes;
    private String note;
    private String imgUrl;
    private Timestamp createDate;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getScientificName() {
        return scientificName;
    }

    public void setScientificName(String scientificName) {
        this.scientificName = scientificName;
    }

    public String getOverview() {
        return overview;
    }

    public void setOverview(String overview) {
        this.overview = overview;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getUsage() {
        return usage;
    }

    public void setUsage(String usage) {
        this.usage = usage;
    }

    public String getAttributes() {
        return attributes;
    }

    public void setAttributes(String attributes) {
        this.attributes = attributes;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Timestamp getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Timestamp createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "Plant{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", scientificName='" + scientificName + '\'' +
                ", overview='" + overview + '\'' +
                ", state='" + state + '\'' +
                ", usage='" + usage + '\'' +
                ", attributes='" + attributes + '\'' +
                ", note='" + note + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", createDate=" + createDate +
                '}';
    }
}
